0fb0f5b2175b985ec3f64ee439a004ee4020d9fe,app/src/processing/app/Toolkit.java,Toolkit,getMonoFontList,#,325
Before Change
Preferences.getBoolean("editor.antialias"),
true); // use fractional metrics
for (Font font : fonts) {
if (font.canDisplay('i') && font.canDisplay('M') &&
font.canDisplay(' ') && font.canDisplay('.')) {
// The old method just returns 1 or 0, and using deriveFont(size)
After Change
true); // use fractional metrics
for (Font font : fonts) {
if (font.getStyle() == Font.PLAIN &&
font.canDisplay('i') && font.canDisplay('M') &&
font.canDisplay(' ') && font.canDisplay('.')) {
// The old method just returns 1 or 0, and using deriveFont(size)